define(["jquery"],function($){
	console.log("我执行了")
		function ajax_ser(data,className,data_name,data_name1){
			console.log(123)
			$.ajax({
				//url : "../ajax/explor.text",
				url : "http://localhost:8000/ajax/explor.text",
				dataType : "json",
				type : "get",
				success : function(mess){
					mess.forEach((item,index)=>{
						let a = item.data_name;
						let b = item.data_name1;
						var doc =`<div class="className">
									<img src="${a}" alt="">
									<img src="${b}" alt="">
								</div>`;
						data.innerHTML += doc;
					})
				}
			})//ajax请求
		}
		return ajax_ser;
})